<template>
    <!--今日推荐-->
    <div class="today-recommend">
        <div class="py-container">
            <ul class="recommend">
                <li class="clock">
                    <div class="time">
                        <img src="./images/clock.png" />
                        <h3>今日推荐</h3>
                    </div>
                </li>
                <li class="banner">
                    <router-link :to="`/detail/2`" target="_blank">
                        <img src="./images/phone1.png" />
                    </router-link>
                </li>
                <li class="banner">
                    <router-link :to="`/detail/1`" target="_blank">
                        <img src="./images/phone2.png" />
                    </router-link>
                </li>
                <li class="banner">
                    <router-link :to="`/detail/3`" target="_blank">
                        <img src="./images/phone3.png" />
                    </router-link>
                </li>
            </ul>
        </div>
    </div>
</template>

<script>
export default {
    name: 'recommend',
    data() {
        return {

        };
    },

    mounted() {

    },

    methods: {

    },
};
</script>

<style  scoped>
.today-recommend{
    width: 1200px;
    margin: 0 auto;
}
.today-recommend .py-container {
    width: 1200px;
    margin: 0 auto;
    margin-top: 5px;
}

.today-recommend .py-container .recommend {
    height: 165px;
    margin: 10px 0;
    display: flex;
}

.today-recommend .py-container .recommend .clock {
    /* width: 16.67%; */
    width: 210px;
    margin-right: 8px;
    background-color: #5c5251;
    color: #fff;
    font-size: 18px;
    text-align: center;
}

.today-recommend .py-container .recommend .clock .time {
    width: 210px;
    padding: 30px 0;
}

.today-recommend .py-container .recommend .clock h3 {
    margin: 9px 0;
    font-weight: 700;
    font-size: 18px;
    line-height: 30.06px;
}

.today-recommend .py-container .recommend .banner {
    box-shadow: 10px 10px 10px #eee, -10px 10px 10px #eee;
    margin: 0 12px;
}

.today-recommend .py-container .recommend .banner img {
    height: 100%;
    transition: all 400ms;
}

.today-recommend .py-container .recommend .banner img:hover {
    opacity: 0.8;
}</style>